package controller;

import annotation.Controller;
import annotation.RequestMapping;

/**
 * @ClassName DemoController
 * @Description : 测试DemoController类
 * @Author : R
 * @Date : 2020/3/5 9:42
 */
@Controller
public class DemoController {
    @RequestMapping(value = "partDemo1")
    public Boolean partDemo1(){
        System.out.println("输出DemoController第一次");
        return true;
    }

    @RequestMapping(value = "partDemo2")
    public int partDemo2(){
        System.out.println("输出DemoController第二次");
        return 100;
    }
}